package com.example.his.api.db.dao;

import com.example.his.api.common.PageUtils;
import com.example.his.api.db.pojo.UserEntity;

import java.util.*;

public interface UserDao {
    public Set<String> searchUserPermissions(int userId);

    public Integer login(Map<String,Object> param);

    public String searchUserNameById(int userId);

    public int updatePassword(Map<String,Object> param);

    public long searchCount(Map<String, Object> param);

    @SuppressWarnings("all")
    public List<Map> searchByPage(Map<String, Object> param);

    public int insert(UserEntity userEntity);

    public HashMap<?,?> searchById(int userId);

    public int update(Map<String, Object> param);

    public int deleteByIds(Integer[] ids);
}




